<template>
    <el-dialog title="删除提示" :visible="isShow" :modal="false" @close="closeDialog">
        <div>确认删除?</div>
        <div class="btns">
            <el-button type="plain" size="small" @click="closeDialog">取消</el-button>
            <el-button type="primary" size="small">删除</el-button>
        </div>
    </el-dialog>
</template>

<script>
export default {
  props: {
    isShow: {
      type: Boolean,
      default: () => false
    }
  },
  data () {
    return {

    }
  },

  methods: {
    closeDialog () {
      this.$emit('closeDialog', 'showDelete')
    }
  }
}
</script>

<style scoped>
.btns{
    margin-top: 1.25rem;
}
</style>
